@extends('layout.default')

@section('layout.content')

  <div class="row">
    <div class="col-xs-12">
      <div class="space-32"></div>
      <form method="get" action="{{route('bank.show')}}" class="form-horizontal">
        <div class="col-xs-12 col-md-6 col-md-offset-3">               
          <div class="form-group">
            <div class="input-group">
              <input type="text" class="form-control input-lgr" id="query" name="query" placeholder="帐号/姓名/ISBN" autocomplete="off"/>
              <span class="input-group-btn">
                <button class="btn btn-lg btn-primary" id="btn-sign" type="submit" @if (!$enabled) disabled @endif>
                  <i class="ace-icon fa fa-search"></i>
                  信息查询
                </button>            
              </span>              
            </div>            
          </div>
          @if( !$enabled)
          <span class="help-block red">没有进行中的活动！</span>
          @endif
        </div>
      </form>
    </div>
  </div><!-- /.row -->

@stop

@section('javascript')  
  <script type="text/javascript">
      $(function () {
          $('#query').focus();
      });
  </script>
@stop